﻿/* 设置css变量 */
:root {
    --themeColor: #000;
}

/* css初始化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hideScrollBar::-webkit-scrollbar {
    display: none;
}

ol,
ul {
    list-style: none;
}

body {
    font: 14px Verdana, Helvetica, Arial, sans-serif;
    /* font: 14px Microsoft YaHei; */
    color: #000;
    background: #f1f1f1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-size: 100%;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    vertical-align: baseline;
}

input,
select {
    border: none;
    outline: 0;
    padding: 0 5px;
}

textarea {
    outline: 0;
    resize: none;
    padding: 5px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
}

.btnAnimation {
    width: 120px;
    height: 40px;
    background: var(--themeColor);
    color: #fff;
    position: relative;
}

.btnAnimation::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--themeColor);
    border-left: 1px solid var(--themeColor);
    position: absolute;
    top: 0;
    left: 0;
    transition: all .6s ease;
}

.btnAnimation::after {
    content: '';
    width: 10px;
    height: 10px;
    border-bottom: 1px solid var(--themeColor);
    border-right: 1px solid var(--themeColor);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all .6s ease;
}

.btnAnimation:hover {
    background: #fff;
    color: var(--themeColor);
}

.btnAnimation:hover::before {
    width: 100%;
    height: 100%;
}

.btnAnimation:hover::after {
    width: 100%;
    height: 100%;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
}

.raelc:before {
    content: "";
    display: table;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* lineLoad */
#lineLoadBox {
    width: 90px;
    height: 90px;
    background: rgba(0, 0, 0, .6);
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

#lineLoadBox .loader {
    position: relative;
    width: 48px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
    margin: 13px 21px 17px;
}

#lineLoadBox .loader .line {
    width: 8px;
    position: absolute;
    border-radius: 5px;
    bottom: 0;
    background: linear-gradient(to bottom, #8f94fb, #4e54c8);
}

#lineLoadBox .loader .lineOne {
    left: 0;
    -webkit-animation: line-grow .5s ease alternate infinite;
    animation: line-grow .5s ease alternate infinite;
}

#lineLoadBox .loader .lineTwo {
    left: 20px;
    -webkit-animation: line-grow .5s .2s ease alternate infinite;
    animation: line-grow .5s .2s ease alternate infinite;
}

#lineLoadBox .loader .lineThree {
    left: 40px;
    -webkit-animation: line-grow .5s .4s ease alternate infinite;
    animation: line-grow .5s .4s ease alternate infinite;
}

@-webkit-keyframes line-grow {
    0% {
        height: 0
    }

    100% {
        height: 75%
    }
}

@keyframes line-grow {
    0% {
        height: 0
    }

    100% {
        height: 75%
    }
}

/* circleLoad */
#circleLoadBox {
    padding: 15px 25px;
    background: rgba(0, 0, 0, .6);
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

#circleLoadBox .circleLoad {
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50%;
    float: left;
    border-left-color: transparent;
    animation: circleRound .5s infinite linear;
}

@keyframes circleRound {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#circleLoadBox .circleLoadText {
    float: left;
    line-height: 30px;
    color: #fff;
    padding-left: 15px;
    letter-spacing: 1px;
}

/* 元素事件失效 */
.domDisabled {
    background: #ccc;
    color: #f0f0f0;
    pointer-events: none;
}

#back {
    width: 100%;
    line-height: 50px;
    background: #3A6FF3;
    color: #fff;
    padding: 15px 10px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

#backA {
    float: left;
    width: 150px;
    line-height: 20px;
    background: url('../icon/back.png') no-repeat;
    background-size: 20px;
    background-position: left center;
    padding-left: 23px;
}

#back span {
    width: 20px;
    height: 20px;
    float: right;
    padding-left: 20px;
    color: #fff;
    line-height: 20px;
    background: url('../icon/search.png') no-repeat;
    background-size: 100%;
}